package org.example.myleet.p638;

import org.example.myleet.Utils.Assert;
import org.example.myleet.Utils.JsonUtils;

import java.util.List;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue(14 == solution.shoppingOffers(JsonUtils.parse("[2,5]", List.class), JsonUtils.parse("[[3,0,5],[1,2,10]]", List.class), JsonUtils.parse("[3,2]", List.class)));
        Assert.isTrue(11 == solution.shoppingOffers(JsonUtils.parse("[2,3,4]", List.class), JsonUtils.parse("[[1,1,0,4],[2,2,1,9]]", List.class), JsonUtils.parse("[1,2,1]", List.class)));
    }
}
